package de.gbeine.java.depview.event;

import de.gbeine.java.depview.graph.GraphConverter;
import de.gbeine.java.depview.graph.GraphLevelStrategy;

/**
 *
 * @author gbeine
 *
 */
public class GraphLevelEvent extends Event {

    private final GraphLevelStrategy strategy;

    /**
     *
     * @param pSource
     * @param pStrategy
     */
    public GraphLevelEvent(final Object pSource, final GraphLevelStrategy pStrategy) {
        super(pSource);
        this.strategy = pStrategy;
    }

    /**
     *
     * @return
     */
    public GraphConverter getGraphConverter() {
        return this.strategy.getGraphConverter();
    }
}
